package main

import "strconv"

var (
	singles   = []string{"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"}
	teens     = []string{"Zero", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"}
	tens      = []string{"Zero", "Ten", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"}
	thousands = []string{"Hundred", "Thousand", "Million", "Billion"}
)

//var m = map[int]string{
//	1:
//}

func numberToWords(num int) string {
	numStr := strconv.Itoa(num)
	result := ""
	for i := 1; i <= len(numStr); i++ {
		switch i {
		case 1:
			result = singles[numStr[0]-'0'] + result
		case 2:
			result = tens[numStr[1]-'0']
		case 3:
		case 4:
		case 5:
		case 6:
		case 7:
		case 8:
		case 9:
			//result+=
		case 10:

		}
	}
	return ""
}
